package com.pktechan.api.vo;

import com.pktechan.api.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program  
 * @Description  
 * @Author  qx.zhang
 * @create 2021-03-05 11:03 
 */

public class ShopCartVO extends BaseEntity {


	/**
	 * 购物车ID
	 */
   
	private Integer id;

	/**
	 * 客户ID
	 */
	private Integer custId;

	/**
	 * 产品ID
	 */
	private Integer productId;

	/**
	 * 数量
	 */
	private Integer count;

	/**
	 * 创建时间
	 */
	private Date createTime;

	private BigDecimal amount;
	/**
	 * 产品单价
	 */
	private BigDecimal price;


	/**
	 * 分类   "11-白酒 12-啤酒 13-葡萄酒 14-黄酒
	 * 21-注册VIP 22-注册配送商"
	 */
	private Integer category;

	/**
	 * 用户下单后产生的云积分,只有配送商会产生
	 */
	private BigDecimal cloudPoint;

	/**
	 * 当配送商来购买时，不需支付配送费
	 */
	private BigDecimal priceCarriage;

	/**
	 * 产品名称
	 */
	private String name;

	/**
	 * 单位规格
	 */
	private String unit;

	/**
	 * 客户VIP类型  0：游客，10：VIP，20：配送商
	 */
	private Integer custVipType;

	/**
	 * 头像
	 */
	private String thumbImagePath;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCustId() {
		return this.custId;
	}

	public void setCustId(Integer custId) {
		this.custId = custId;
	}

	public Integer getProductId() {
		return this.productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getCount() {
		return this.count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getCategory() {
		return category;
	}

	public void setCategory(Integer category) {
		this.category = category;
	}

	public BigDecimal getCloudPoint() {
		return cloudPoint;
	}

	public void setCloudPoint(BigDecimal cloudPoint) {
		this.cloudPoint = cloudPoint;
	}

	public BigDecimal getPriceCarriage() {
		return priceCarriage;
	}

	public void setPriceCarriage(BigDecimal priceCarriage) {
		this.priceCarriage = priceCarriage;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Integer getCustVipType() {
		return custVipType;
	}

	public void setCustVipType(Integer custVipType) {
		this.custVipType = custVipType;
	}

	public String getThumbImagePath() {
		return thumbImagePath;
	}

	public void setThumbImagePath(String thumbImagePath) {
		this.thumbImagePath = thumbImagePath;
	}
}
